import request from '@/utils/request'

// 查询短剧剧集列表
export function listShortPlayMuster(query) {
  return request({
    url: '/shortPlay/shortPlayMuster/list',
    method: 'get',
    params: query
  })
}

// 查询短剧剧集详细
export function getShortPlayMuster(id) {
  return request({
    url: '/shortPlay/shortPlayMuster/' + id,
    method: 'get'
  })
}

// 新增短剧剧集
export function addShortPlayMuster(data) {
  return request({
    url: '/shortPlay/shortPlayMuster',
    method: 'post',
    data: data
  })
}

// 修改短剧剧集
export function updateShortPlayMuster(data) {
  return request({
    url: '/shortPlay/shortPlayMuster',
    method: 'put',
    data: data
  })
}

// 删除短剧剧集
export function delShortPlayMuster(id) {
  return request({
    url: '/shortPlay/shortPlayMuster/' + id,
    method: 'delete'
  })
}
